cssselector: Reintroduce GOT_MATCH
authorBenjamin Otte <otte@redhat.com>
Mon, 5 Jan 2015 20:15:19 +0000 (21:15 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 5 Jan 2015 20:20:26 +0000 (21:20 +0100)
commit78223932c572214f7a1a738c953299d864451724
tree1fda3b62bbe39a3c2fef65d5700b5fa29352e625
parent506639add12d69c2058fa1a72319506adbac1f4d
cssselector: Reintroduce GOT_MATCH

I removed it in 14f5ce710856708dc80fcc98cb5eb2ba257f34ad because I
thought it was unnecessary, but it wasn't. When we build a tree like
this:

.matches ─┬─ .doesntmatch
          └─ .alsodoesntmatch

We would get the changes for the .matches part returned. This is however
only right if that node of the tree contains results. If results only
exist with the child nodes (all of which don't match), then this part
should not match either.
gtk/gtkcssselector.c